package com.ngc.mall.vo;

import com.ngc.mall.dto.SkuDTO;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;
/**
 *  spu信息
 *
 * @author : Chen Xiao Lin
 * @Date : 2023/4/11 9:25
 **/

@Data
@Builder
public class SpuVO {

    private Long id;

    private String title;

    private String subTitle;

    private String description;

    private String img;

    private Boolean online;

    private Long visualSpecId;

    private Long categoryId;

    private Long defaultSkuId;

    private BigDecimal price;

    private BigDecimal discountPrice;

    private Integer sort;
    /**
     * 推荐
     */
    private Boolean recommendStatus;
    /**
     * 轮播图列表 (不超过12张）
     */
    private List<AttachmentVO> carousels;
    /**
     * 商品详情
     */
    private String detail;

    private List<SkuDTO> skuList;

    /**
     * 关联专题
     */
    private List<Long> themeList;

}
